FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER cuzofu@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /dc-test

WORKDIR /dc-test

EXPOSE 9929

ADD ./target/dc-test.jar ./

CMD sleep 10;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar dc-test.jar
